<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<html>
<head>
  <meta charset="utf-8">
  <title>用户注册</title>
  
  			<!-- 引入注册校验js -->
  <!-- <script type="text/javascript" src="../js/reg.js"></script> -->
  <script src="<%=basePath%>js/reg.js"></script>
  <style type="text/css">
body {
	background-image: url("./images/bk1.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}
</style>
</head>
<body>
<div class="con">
  <div class="box">
    <!-- <div class="head">
      <a href="index.jsp">
        <img src="img/logo_login.png" alt="" />
      </a>
    </div> -->
<nav align="center" >
    <div class="text">
      <div class="text_head">
        <span class="h01">用户注册</span>
        
        <div class="xhr"></div>
      </div>
      
			<!--  注册信息表格 -->
      <form action="<c:url  value='/Customer/Regist.action'/>"method="post" id="regForm">
              <div class="text_box">
                  <div class="main"><div class="name">车主姓名：</div>
                  <input  autocomplete="off" type="text" name="cname" id="name" value="" onblur="isName()"/>
                  <div id="mark1" class="iss"></div>
                  </div>
                  <div class="main"><div class="name">车辆大架号：</div>
                  <input  autocomplete="off" type="password" name="carcode" id="pwd1" value="" onblur="isPwd1()"/>
                  <div id="mark2" class="iss"></div>
                  </div>
                  <div class="main"><div class="name">确定车辆大架号：</div>
                  <input  autocomplete="off" type="password" name="pwd2" id="pwd2" value="" onblur="isPwd2()"/>
                  <div id="mark3" class="iss"></div>
                  </div>
                  <div class="xbutton">
                  <input type="button" name="reg" id="reg" value="注册" onclick="isReg()"/>
                  </div>
                
                  
              </div>
              <font color="red">
			 <%-- 提示信息--%>
			 <span id="message" >${msg}</span>
				</font>
              <div class="jmp">
      <div class="jmpp">
       		 已经注册过了？
      </div>
      <div class="jmpa">
        <a href='<c:url value="/Customer/GotoLogin.action"/>'>立即登陆&nbsp;></a>
      </div>
    </div>
      	</form>
    </div>
</nav>
    
  </div>
  </div>
  
  
</body>
</html>